<!--
 * @Author: your name
 * @Date: 2021-12-01 19:30:18
 * @LastEditTime: 2021-12-01 19:50:20
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \前端学习\code\京东图片练习.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        body{
            background-color: yellowgreen;
        }
        .img-list {
            width: 190px;
            height:590px;
            overflow: hidden;
            margin: 20px auto;
            background-color: white;
        }
        .img-list img{
            width: 100%;
            
        }
        .img-list li{
            margin-bottom: 9px;
        }
    </style>
</head>

<body>
    <ul class="img-list">
        <li>
            <a href="#">
                <img src="./img/1.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="#">
                <img src="./img/2.jpg" alt="">
            </a>
        </li>
        <li>
            <a href="#">
                <img src="./img/3.jpg" alt="">
            </a>
        </li>
    </ul>
</body>

</html>